package com.watercube.note.biz.user.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.watercube.common.annotation.LogRTtimeLimit;
import com.watercube.note.biz.user.api.BizClientService;
import com.watercube.note.biz.user.entity.Client;
import com.watercube.note.biz.user.entity.ClientExample;
import com.watercube.note.biz.user.service.ClientService;
import com.watercube.service.base.impl.BaseServiceImpl;

@Service
@com.alibaba.dubbo.config.annotation.Service(timeout = 5000)
public class BizClientServiceImpl extends BaseServiceImpl<Client, String, ClientExample> implements BizClientService {

	@Resource
	private ClientService clientService;

	@Override
	@LogRTtimeLimit
	public String getClientCacheById(String clientId) {
		return clientService.getClientCacheById(clientId);
		// return "qqqq";
	}

	@Override
	public void deleteClientCache(String clientId) {
		clientService.deleteClientCache(clientId);
	}

}
